import { Component, OnInit,Input } from '@angular/core';

@Component({
  selector: 'app-movie-item',
  templateUrl: './movie-item.component.html',
  styleUrls: ['./movie-item.component.css']
})
export class MovieItemComponent implements OnInit {

  constructor() {}
  @Input() lists!:any;
  ngOnInit(): void {
    console.log(this.lists);
  }

}
